import { defHttp } from '@/utils/http/axios'

// 查询特殊业务明细列表
export function getReport15Page(params) {
  return defHttp.get({ url: '/fy/report15/page', params })
}

// 查询特殊业务明细详情
export function getReport15(id: number) {
  return defHttp.get({ url: `/fy/report15/get?id=${id}` })
}

// 新增特殊业务明细
export function createReport15(data) {
  return defHttp.post({ url: '/fy/report15/create', data })
}

// 修改特殊业务明细
export function updateReport15(data) {
  return defHttp.put({ url: '/fy/report15/update', data })
}

// 删除特殊业务明细
export function deleteReport15(id: number) {
  return defHttp.delete({ url: `/fy/report15/delete?id=${id}` })
}

// 导出特殊业务明细 Excel
export function exportReport15(params) {
  return defHttp.download({ url: '/fy/report15/export-excel', params }, '特殊业务明细.xls')
}